package factory.before;

/**
 * 咖啡类
 */
public abstract class Coffee {
    public abstract String getName();

    //加糖
    public void addsuger(){
        System.out.println("加糖");
    }


    //加奶
    public void addMilk(){
        System.out.println("加奶");
    }

}
